import Parser from './Parser'
export default class IfParser extends Parser {
    parse() {
        return new Function('return (' + this.resolver.resolve(this.view) + ')')
    }
}